package com.feng.boot.mybatis.config;

import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.boot.autoconfigure.ConfigurationCustomizer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author Lee
 */
@MapperScan(basePackages = {"com.feng.boot.mybatis.mapper"})
@Configuration
public class MybatisConfig {

/*    @Bean
    public ConfigurationCustomizer configurationCustomizer(){
        return (customizer) -> {
            customizer.setMapUnderscoreToCamelCase(true);
        };
    }*/

}
